package com.fc.test.mapper.auto;

import com.fc.test.model.auto.StuInfo;
import com.fc.test.model.auto.StuInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 学生个人信息 StuInfoMapper
 * @author DrRic_自动生成
 * @email drhyz@qq.com
 * @date 2020-07-05 17:22:43
 */
public interface StuInfoMapper {
      	   	      	      	      	      	      	      	      	      	      	      	      	      	      	      
    long countByExample(StuInfoExample example);

    int deleteByExample(StuInfoExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(StuInfo record);

    int insertSelective(StuInfo record);

    List<StuInfo> selectByExample(StuInfoExample example);
		
    StuInfo selectByPrimaryKey(Integer id);

    StuInfo selectByAccount(String account);
		
    int updateByExampleSelective(@Param("record") StuInfo record, @Param("example") StuInfoExample example);

    int updateByExample(@Param("record") StuInfo record, @Param("example") StuInfoExample example); 
		
    int updateByPrimaryKeySelective(StuInfo record);

    int updatePasswordByPrimaryKeySelective(@Param("sid") Integer id, @Param("password") String password);

    int updateByPrimaryKey(StuInfo record);
  	  	
}